home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / doc / www-talk.archive.Z / www-talk.archive / text0400.txt < prev    next >
Encoding:
Text File  |  1992-11-30  |  1.5 KB  |  49 lines

  1.  
  2. >Pictures
  3. >========
  4.  
  5. Answer: MIME. I coded a prototype replacement for
  6. HTParseFormat that groks several mime formats, including
  7. text/plain, text/x-html, message/rfc-822, message/external-body,
  8. and multipart/mixed. We just need to add plug-and-play modules
  9. for other MIME types like image/gif, image/x-tiff, etc.
  10.  
  11. More on that after I get some sleep and write it up...
  12.  
  13. >The Book Metaphor
  14. >=================
  15. >
  16. Answer: The DocBook DTD from O'Reilly and HaL.
  17.  
  18. It's an SGML DTD, but it's not as simple as HTML. We need
  19. to get serious about supporting SGML.
  20.  
  21. I've spent the whole last week with my nose in the SGML
  22. standard. I think I've got a handle on it now.
  23.  
  24. I've written some code to do the low-level reading of
  25. SGML. It's reentrant, doesn't use malloc(), and
  26. completely conforms to the SGML standard (except for
  27. marked sections and wierd newline conventions).
  28.  
  29. I even added a couple work-arounds for the problems with
  30. existing HTML data.
  31.  
  32. And -- I integrated it into the MidasWWW browser. Works great.
  33. I hope to sync up with the author soon.
  34.  
  35. I'm looking at integrating this SGML_read library into the
  36. linemode browser, but the linemode code isn't reentrant,
  37. and that makes life hard.
  38.  
  39. What other HTML parsing engines do we have out there?
  40.  
  41. Tim: you said something about the NeXT editor being hard
  42. to fix. Why is that? It looks like there are three lines
  43. in HTParse.h that write the HREF=foo attributes. I'll send
  44. you patches if you like (though I can't test them -- no NeXT!)
  45.  
  46. Dan
  47.  
  48.  
  49.